package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
//@TableName("sys_role")
public class Role {
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;
    private String roleName;

    @TableField(exist = false)
    private Integer[] pIds;
}